/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package manager;

import java.util.List;
import javax.ejb.Remote;
import remoteEntity.Log;
import remoteEntity.Download;

/**
 *
 * @author viktor
 */
@Remote
public interface LogManagerRemote {
    
    //TODO: move entity classes to the remote interface.
    List<Log> getAllPosts();
        
    List<Download> getDownladsForUser(int id);

    void logDebug(String page, String msg);

    void logDownload(int userId, int downloadId);

    void logError(String page, String msg);

    void logInfo(String page, String msg);

    void logWarning(String page, String msg);
    
    String testMethod();
}
